<?php
	session_start();//session语句
	
	session_destroy();//摧毁所有session
	
	//header("Location: index.php");
	echo "<script>location.href='" . $_SERVER["HTTP_REFERER"] . "';</script>";//返回上一页
?>